﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MetaView.Mvvm.Apis.Auth.Param
{
    public class LoginUserParam
    {
        /// <summary>
        /// 用户id
        /// </summary>
        public string Id { get; set; }

        ///// <summary>
        ///// 头像
        ///// </summary>
        //public string Avatar { get; set; }

        ///// <summary>
        ///// 签名
        ///// </summary>
        //public string Signature { get; set; }

        /// <summary>
        /// 用户账号
        /// </summary>
        public string Account { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string Nickname { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public string Gender { get; set; }

        /// <summary>
        /// 手机
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 员工编号
        /// </summary>
        public string EmpNo { get; set; }

        /// <summary>
        /// 组织id
        /// </summary>
        public string OrgId { get; set; }

        /// <summary>
        /// 组织名称
        /// </summary>
        public string OrgName { get; set; }

        /// <summary>
        /// 职位id
        /// </summary>
        public string PositionId { get; set; }

        /// <summary>
        /// 职位名称
        /// </summary>
        public string PositionName { get; set; }

        /// <summary>
        /// 上次登录ip
        /// </summary>
        public string LastLoginIp { get; set; }

        /// <summary>
        /// 上次登录地址
        /// </summary>
        public string LastLoginAddress { get; set; }

        /// <summary>
        /// 上次登录时间
        /// </summary>
        public string LastLoginTime { get; set; }

        /// <summary>
        /// 上次登录设备
        /// </summary>
        public string LastLoginDevice { get; set; }

        /// <summary>
        /// 最新登录ip
        /// </summary>
        public string LatestLoginIp { get; set; }

        /// <summary>
        /// 最新登录地址
        /// </summary>
        public string LatestLoginAddress { get; set; }

        /// <summary>
        /// 最新登录时间
        /// </summary>
        public string LatestLoginTime { get; set; }

        /// <summary>
        /// 最新登录设备
        /// </summary>
        public string LatestLoginDevice { get; set; }

        /// <summary>
        /// 扩展信息
        /// </summary>
        public string ExtJson { get; set; }

        /// <summary>
        /// 角色id
        /// </summary>
        public string RoleId { get; set; }

        /// <summary>
        /// 角色码集合
        /// </summary>
        public List<string> RoleCodeList { get; set; }

        /// <summary>
        /// 权限码集合
        /// </summary>
        public List<string> PermissionCodeList { get; set; }

        /// <summary>
        /// 按钮码集合
        /// </summary>
        public List<string> ButtonCodeList { get; set; }
    }
}